<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="../title.jsp"%>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/js/util/jquery.validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/js/util/jquery-dykjForm.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/sysmanager/common/js/groupInfoManage.js"></script>
<s:if test="requestMsg['refresh']==true">
	<script>
		window.parent.frames[0].location.reload();
	</script>
</s:if>
<table class="Title">
  <tr>
    <td>机构管理</td>
  </tr>
</table>
<table class="inputTable">
  <tr>
    <td><font color="#FF0000">*</font>机构名称：</td>
	<td><d:input name="groupInfoDTO.name"/></td>
	<td><font color="#FF0000">*</font>经办机构编码：</td>
	<td><d:input name="groupInfoDTO.org"/></td>
  </tr>
  <tr>
    <td><font color="#FF0000">*</font>机构描述：</td>
	<td><d:input name="groupInfoDTO.description"/></td>
	<td>许可证编号：</td>
	<td><d:input name="groupInfoDTO.license"/></td>
  </tr>
  <tr>
    <td>行政区域：</td>
	<td><d:input name="groupInfoDTO.aaa020"/></td>
	<td>机构负责人：</td>
	<td><d:input name="groupInfoDTO.principal"/></td>
  </tr>
  <tr>
    <td>机构简称：</td>
	<td><d:input name="groupInfoDTO.shortname"/></td>
	<td>电话：</td>
	<td><d:input name="groupInfoDTO.tel"/></td>
  </tr>
  <tr>
  	<td>联系人：</td>
  	<td><d:input name="groupInfoDTO.linkman"/></td>
  	<td>主办部门：</td>
  	<td><d:input name="groupInfoDTO.frontfordept"/></td>
  </tr>
  <tr>
  	<td>地址：</td>
  	<td colspan="3"><d:input name="groupInfoDTO.aae006"/></td>
  </tr>
  <tr>
  	<td>上级机构：</td>
  	<td colspan="3"><d:select name="groupInfoDTO.parentid" path="%{groupmap}"/></td>
  </tr>
</table>
<input type="hidden" id="groupid" name="groupInfoDTO.groupid" value="<s:property value="groupInfoDTO.groupid"/>"/>
<input type="hidden" id="parentid" name="groupInfoDTO.parentid" value="<s:property value="groupInfoDTO.parentid"/>"/>
<input type="hidden" id="method" name="method" value=""/>
<div class="submitButton">
<s:if test="groupInfoDTO==null">
<input type="button" class="button_2" id="save" value="添加机构">
</s:if>
<s:else>
<input type="button" class="button_2" id="save" value="保存"> <input type="button" class="button_2" id="add" value="添加子机构"> 
<input type="button" class="button_2" id="del" value="删除机构">
</s:else>
</div>
<%@include file="../foot.jsp"%>
